package game;

import java.io.ObjectInputStream.GetField;
import java.util.ArrayList;

public class TestScreen {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Screen screen = new Screen(GamePlayer.getMap(), 9, 7);
//		screen.draw();
//		screen.repaint();
	
		Player p1 = new Player("Hans");
		p1.setDirection("up");
		p1.setXpos(5);
		p1.setYpos(5);
		Player p2 = new Player("Gunnar");
		p2.setDirection("down");
		p2.setXpos(8);
		p2.setYpos(8);
		
		
		
		ArrayList<Player> players = new ArrayList<Player>();
//		screen.update(players);
		players.add(p1);
		players.add(p2);
		
//		screen.update(players);
//		screen.movePlayerOnScreen(p1, 7, 7, "up");
		
		ScoreList sl = new ScoreList(players);
		
		Player p3 = new Player("Eigil");
		p3.setXpos(15);
		p3.setYpos(16);
		p3.setDirection("left");
		players.add(p3);
		
		sl.update(players);

	}
}
